//BridgeMenuClient.java
package bridge.sample.client;

import bridge.sample.menu.*;

/**
 *@author:youtubezou
 *@version:2012-7-27
 */
public class BridgeMenuClient {
	public static void main(String[] args){
		testCreateMenus("Windows");
		testCreateMenus("Unix");
				
	}
	
	public static void testCreateMenus(String osName){
		Menu menu = null;
		
		Menu.setEnviroment(osName);
		menu = new MenuBar();
		menu.click();
		menu = new PopupMenu();
		menu.click();
	}
}
